import srvHttp from '../../utils/srvHttp'

//获取产品信息
export function getProductList(data) {
    return srvHttp({
        url: 'GoodsService/getProductList',
        method: 'POST',
        data: data
    })
}

//修改商品状态
export function editGoodsState(data) {
    return srvHttp({
        url: 'GoodsService/editGoodsState',
        method: 'POST',
        data: data
    })
}

//增加商品
export function insertGoods(data) {
    return srvHttp({
        url: 'GoodsService/insertGoods',
        method: 'POST',
        data: data
    })
}
//修改
export function editGoods(data) {
    return srvHttp({
        url: 'GoodsService/editGoods',
        method: 'POST',
        data: data
    })
}